package br.com.travesso.security.authentication;

import java.io.Serializable;
import java.security.Principal;

public class UserPrincipal implements Principal, Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;
	private String loginInformado;

	public UserPrincipal() {
	}

	@Override
	public String getName() {
		return Long.toString(getId());
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLoginInformado() {
		return this.loginInformado;
	}

	public void setLoginInformado(String p_loginInformado) {
		this.loginInformado = p_loginInformado;
	}
}
